package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Appointment;
import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.domain.StatementItem;
import cn.wolfcode.car.business.query.StatementQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fasterxml.jackson.databind.ser.Serializers;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface StatementMapper extends BaseMapper<Statement> {
    //int deleteByPrimaryKey(Long id);

    //int insert(Statement record);

    //Statement selectByPrimaryKey(Long id);

    //List<Statement> selectAll();

   //int updateByPrimaryKey(Statement record);

    //List<Statement> selectForList(StatementQuery qo);

    //void updateStatementDecimal(@Param("id") Long id, @Param("totalAmount") BigDecimal totalAmount, @Param("totalQuantity") BigDecimal totalQuantity, @Param("disCountPrice") BigDecimal disCountPrice);

    //void updatePayStatement(@Param("statementId") Long statementId, @Param("status") Integer status, @Param("userId") Long userId);

    //Statement queryAppointmentId(Long appointmentId);

    //List<StatementItem> queryItemByStatementId(Long statementId);
}